/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.euitio.jmplayer.controller;

import javax.swing.SwingUtilities;
import javax.swing.UIManager;
import org.euitio.jmplayer.view.MainWindow;
import org.jvnet.substance.skin.SubstanceRavenGraphiteLookAndFeel;

/**
 *
 * @author Carballude
 */
public class Main {

    public static void main(String args[]){
           SwingUtilities.invokeLater(new Runnable() {

            @Override
            public void run() {
                try {
                    UIManager.setLookAndFeel(new SubstanceRavenGraphiteLookAndFeel());
                } catch (Exception e) {
                    System.out.println("Substance Raven Graphite failed to initialize");
                }
                MPlayer.getInstance();
                new MainWindow();
            }
        });
    }

}
